
<div class="container detail-info" id="theload-wrapper">
	<div id="row">
		<h1>
			Danh sách truyện tranh
		</h1>
		<div class="col-md-12 box">
			<?php 
			$title="";
			if(isset($_GET['ext'])){

			$title=$_GET['ext'];
		}
		?>

			<?php if($_SESSION['mobile']==0){ ?>
				<ul class="breadcrumb breadcrumb_manga" xmlns:v="http://rdf.data-vocabulary.org/#" style="margin-bottom:10px">
			<?php
			}else{ echo '<ul class="breadcrumb" xmlns:v="http://rdf.data-vocabulary.org/#">';
			}?>
			<li typeof="v:Breadcrumb"><a rel="v:url" property="v:title" href="<?php echo HOME; ?>"><i class="fa fa-home"></i> Home</a></li>
			<li typeof="v:Breadcrumb"><a rel="v:url" property="v:title" href="<?php echo MANGA_URL; ?>">Truyện tranh</a></li>
			<li typeof="v:Breadcrumb"><a rel="v:url" property="v:title" href="<?php echo MANGA_URL; ?>danhsach">Danh Sách Truyện Tranh</a></li>

			</ul>
			<div class="clearfix"></div>


			<blockquote class="hidden-xs" style="background-color: #fefefe; margin: 5px 0px;">
				<small> <a href="<?php echo HOME."truyentranh/danhsach" ?>">Tất cả</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>other">#</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>a">A</a>&nbsp;&nbsp;|&nbsp;&nbsp;
					<a href="<?php echo HOME."truyentranh/danhsach/" ?>b">B</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>c">C</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>d">D</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>e">E</a>
					&nbsp;&nbsp;|&nbsp;&nbsp;<a href="<?php echo HOME."danhsach/" ?>f">F</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>g">G</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>h">H</a>&nbsp;&nbsp;|&nbsp;&nbsp;
					<a href="<?php echo HOME."truyentranh/danhsach/" ?>i">I</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>j">J</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>k">K</a>&nbsp;&nbsp;|&nbsp;&nbsp;
					<a href="<?php echo HOME."truyentranh/danhsach/" ?>l">L</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>m">M</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>n">N</a>&nbsp;&nbsp;|&nbsp;&nbsp;
					<a href="<?php echo HOME."truyentranh/danhsach/" ?>o">O</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>p">P</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>q">Q</a>&nbsp;&nbsp;|&nbsp;&nbsp;
					<a href="<?php echo HOME."truyentranh/danhsach/" ?>r">R</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>s">S</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>t">T</a>&nbsp;&nbsp;|&nbsp;&nbsp;
					<a href="<?php echo HOME."truyentranh/danhsach/" ?>u">U</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>v">V</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>w">W</a>&nbsp;&nbsp;|&nbsp;&nbsp;
					<a href="<?php echo HOME."truyentranh/danhsach/" ?>x">X</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>y">Y</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a
					href="<?php echo HOME."truyentranh/danhsach/" ?>z">Z</a>
				</small>
			</blockquote>

			<div class="row">
				<div class="col-md-12">
					<?php echo $data['nav']; ?>
				</div>

			</div>
			<!-- End of Row -->
			<div style="background-color: #fff">
				<?php //render_item_anime2($data['info'],1); ?>
				<!-- Hien Kieu Moi -->
				<style>
.list_name a {
	color: #060;
	font-size: 14px;
	font-weight: normal
}

.list_name a:hover {
	color: #60C
}

.list_status {
	font-size: 13px;
	color: #060;
	font-weight: normal
}
</style>
				<table class="table">
					<thead>
						<tr style="background-color: #0079be; color: #fff">
							<td>Tên Truyện</td>
						
							<td>View</td>
							<td class="hidden-xs">Nhóm Dịch</td>
						</tr>
					</thead>
					<tbody>
						<?php 
						$k=1;
						if($data['info']){
		foreach($data['info'] as $row){ ?>
						<?php if($k%2==0){?>
						<tr class="panel-update-each-item panel-odd">
							<?php }else{?>
						
						
						<tr class="panel-update-each-item panel-even">
							<?php }
							$k++;
							?>
							<td class="panel-update-each-item-title ">
                            <img class="manga_image_update lazy" data-original="<?= mangaf1_gglink($row['hinhanh']); ?>" style="width:40px; height:60px"/> 
                            
                            <a class="tooltip-hover manga_name_update"
								href="<?php echo mangaf1_url_manga($row['id'],$row['alias']) ?>"
								target="_blank" title="<?php echo $row['name']; ?>"><?php echo short_str($row['name'],30) ?>
									<div class="tooltip-content">

										<img class="tooltip-content-image"
											data-original="<?= mangaf1_gglink($row['hinhanh']); ?>"
											src="" alt="" /> <a class="tooltip-content-title"
											href="<?php  mangaf1_url_manga($row['id'],$row['alias']) ?>"><?= $row['name']; ?>
										</a>

										<p class="tooltip-content-desc">
											<?= $row['gioithieu'];?>
										</p>
										<p class="tooltip-content-theloai">
											<span>Thể loại: </span>:
											<?= $row['theloai']?>
										</p>
									</div> </a>
                                  
                                   <div class="panel-update-each-item-chapt">
                                    <?php if($row['tinhtrang']==1){ 
								echo "Hoàn Thành";
							}else{
					if($row['ep_moinhat'] !=''){
						?> <a href="<?php echo str_replace('http://manga24h.com','http://truyencuatui.info/truyentranh',$row['ep_moinhaturl']); ?>"><?php echo $row['ep_moinhat'];?>
							</a> <?php
					}
			 }?>					</div>
							</td>
							
							<td><?php echo $row['views'];?></td>
							<td class="hidden-xs"><?php echo mangaf2_get_manga_nguon($row['nguon']);?>
							</td>
						</tr>
						<?php }
		}else{
		?>
						<tr>
							<td><div class="alert alert-info">Không Tìm thấy kết quả</div></td>
						</tr>
						<?php
		}?>
					</tbody>

				</table>
				<!-- End of Hien Kieu Moi -->
			</div>
			<?php echo $data['nav']; ?>
		</div>
		<!-- COL MD 9 -->



	</div>
	<!-- end row -->
	<div class="clearfix"></div>
</div>
<!-- end wrapMain -->
